package com.jingHang.common;

import com.google.common.collect.Sets;

import java.util.Set;

/**
 * 常量类
 */
public class Const {

    public static final String NO_ACCESS = "无权限操作,需要管理员权限";

    public static final String NEED_LOGIN_MSG = "用户未登录,请登录";

    public static final String CURRENT_USER = "currentUser";

    public static final String EMAIL = "email";
    public static final String USERNAME = "username";

    public interface Role{
        int ROLE_CUSTOMER = 0; //普通用户
        int ROLE_ADMIN = 1;//管理员
    }


    public interface Product{
        int STATUS_ON_SALE = 1; //在售
        int STATUS_SOLD_OUT = 2;//下架
        int STATUS_DELETE = 3;//删除
    }








}
